package cn.luckywh.service;

import cn.luckywh.dao.UserDao;
import cn.luckywh.dao.UserDaoImpl;

/**
 * @author w.
 * @date 2020/12/3 8:44
 */
public class UserServiceImpl implements UserService {
    private UserDao userDao;
    // 利用set实现
    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    public void getUser() {
        userDao.getUser();
    }
}
